//
//  Player.h
//  MusicPlayer-two
//
//  Created by lanou3g on 15/8/21.
//  Copyright (c) 2015年 大展宏图. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface Player : UIView

@property (nonatomic ,strong) UIScrollView *playerScrollView; //滑动

@property (nonatomic, strong) UIView *ImageAndTableView; //滑动上面的View

@property (nonatomic, strong) UITableView * lyricTableView; //歌词tableView
@property (nonatomic, strong) UIImageView *singerImage;

@property (nonatomic, strong) UILabel *currentTimeLabel; //开始时间
@property (nonatomic, strong) UILabel * totalTimeLabel; //总时间
@property (nonatomic, strong) UIView *playerView; //下面的View
@property (nonatomic, strong) UISlider *timeSlider;
@property (nonatomic, strong) UISlider *volumeSlider;
@property (nonatomic, strong) UIButton *playButton;
@property (nonatomic, strong) UIButton *nextButton;
@property (nonatomic, strong) UIButton *lastButton;
@property (nonatomic, strong)  UIImageView *buleImageView;

@property (nonatomic, strong) UISegmentedControl *segment;

// 歌曲的总时间
- (void)changeToatalTimeLabel:(NSString *)str;

// 播放歌曲的当前时间
- (void)changeCurrentTimeLabel:(NSString *)str;

/**
 *  改变时间滑杆儿的最大值
 */
- (void)changeTimeSliderMaxValue:(NSInteger)maxValue;

/**
 *  改变滑杆为当前播放的时间
 */
- (void)changeTimeSliderVale:(NSInteger )value;

/**
 *  使用滑杆调整时间
 */
- (void)didTimerSliderChanged:(UISlider *)sender;

@end
